import Vue from "vue"
import Vuex from "vuex"

Vue.use(Vuex)

let store = new Vuex.Store({
    state: {
        siderbarOpen: true,
        num: 1
    },
    getters: {},
    mutations: {
        changeOpenStatus(state) {
            state.siderbarOpen = !state.siderbarOpen
            console.log('123',state.siderbarOpen);
        }
    },
    actions: {},
    modules: {}
})

export default store